.box {
  width: 200px;
  background: red;
}
.box p {
  float: left;
}
.box:hover {
  background: blue;
}
.box::after {
  clear: both;
  content: '';
  display: block;
}
